|
|
<DIV id=list>
1 y6 k' r3 U* \<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV># A, m9 g$ Y% K
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>+ S, t$ ]" _' x" q0 a6 A4 A7 g
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>* Q' b' e2 V4 q; d" R ^
<DIV id=lrc3 style="COLOR: #666666"></DIV>5 W" Q8 z7 q3 f E' }0 ` Q
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>% V" z! C* B7 t0 U0 [
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>2 W5 K. Y4 s3 G/ ~4 f
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>, X; {1 ^3 Z3 Q" q% S6 U8 B
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>' ]* W: W( z+ B; x2 T
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
2 T' |$ }7 I! k& L/ J& T/ L1 C6 h/ T<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
+ d" q5 E% t1 b, q4 V" ]<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>& z2 ~ K# j1 S# n
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>6 Q& I$ h) l+ ^% w$ Y
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>2 Y" I% V4 B2 i( c5 B" c( P) }& f
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>" d8 m6 `6 O9 [, i% k7 v
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>, f5 Y2 ~- d& b# [0 {: e
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
$ C, v1 o+ I; G' B8 l! t+ X4 O- c<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
' C5 g8 ~' ?% l( o8 v<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
- Y8 V4 B) k, X3 ]$ X<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>2 [1 w6 a! l. h% b9 L$ O
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV> S z( @. g, j S. u
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
8 f7 y7 H3 }) i3 d$ P, Z9 _<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
1 W# C7 B: _7 W8 k<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>4 t: ]9 G) ]) Z' ^- K* C9 f) y+ A
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>: B5 O" z6 ?7 G
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
( _& |" a- v$ C [ ~<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
4 C2 B) C; f) \7 T- s$ \6 U<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>1 @5 n/ d5 l e- k
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>6 o: g$ k6 j( e' e- Q! m8 F6 O/ n
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV># E/ s6 D! ]* y# o, J. `
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>5 Z5 Y' D5 ?( G2 Y
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
5 w0 y8 n4 e8 i+ N9 P) w% ]$ u<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
* i6 T( K9 q* A, W. P<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>& q& T& `& M6 ]
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>- }; P, @, K, ]5 V
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>! X H. C0 F+ m: n
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>, {# A9 f d4 g" \# W( B
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>: ]' m6 z7 j8 ~2 J5 E Q; X
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
& ~; _ d8 y3 B0 O8 L$ h9 \5 C<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
/ H$ L7 l* I2 b/ _<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
, x% m; ~% N. a0 ^" A4 y( j<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
3 O1 V8 U# U7 K<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>( @8 o% z7 R. U4 ?- G$ T& @
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
1 }5 _% ~/ L9 W# b<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
9 o8 h5 w7 z5 K! L<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>7 v7 `* C- M6 I+ f0 h
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
$ h1 E, u ^5 K2 E9 D2 p! V y<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV> m' Q4 a0 D5 d1 H% h6 {7 q; j
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
, ?- L) q8 B6 }* D0 u2 \+ d<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
( F; F/ U) y5 `3 J5 u4 V<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>4 D6 Y' I2 @% ~; z9 N& R
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
# j* p( O1 w+ c; b; W9 a<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
2 H" g+ g- `, j. `% C" a4 I8 M<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>7 E M9 H+ K; ~6 _( K. v
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
4 S' `( P" J+ ~+ ^6 B<DIV id=lrc style="DISPLAY: none"></DIV>
" g, j' V/ K1 M6 n7 Q( `<SCRIPT type=text/javascript>' @$ j+ t% L7 v5 l. v6 w1 m; g6 ]% a
document.domain="1ting.com";
* N G7 f6 r& Z4 J m5 f3 ivar colorPasted="#666666";
( w: g5 i& y* n5 D: x9 R* @* jvar colorPlaying="#ff3300";4 {" ?3 L+ v, \' [' b
var colorNormal="#000000";' ~/ T! u& |, B* {
$ = function (a,g){
k& Q0 |0 i/ N* @ var o = new Array(); ( K; L2 K& r. ?
var c = new Array();
, L) }. i* L2 A/ p0 B! p* g var r; ) p7 O+ ]6 u( ~* m7 X o
var u; ; N1 W1 {6 q1 a/ b5 _
var a = a.split(';'); ( q* F# N/ h" n+ k+ Z
1 ~ @& X3 C" Q8 r8 f
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
& H: ?( @) h3 N. r% K, N" y4 {5 _ for(var i=0;i<e.length;i++){
) r9 \) b9 p4 k: {& K eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")9 z# n0 X. g" X! G4 ~1 R) ]) o& i1 c: u
}/ p0 m1 J5 ]; K% @: K5 d
: k# w& M8 ]8 m3 d+ K, p after = function (t,d,s){4 G8 D! e, s* [1 r8 l: h/ u) S6 G/ |
$after = function (){
9 c" G# T$ k3 U$ j% i. ^ var $n=document.createElement(t);
7 A. x( O* L! [* m if(d!=null){
) _* h; r9 ] W $n.id=d; ' K1 S' a8 L* ^
}
3 G/ F/ p6 u9 U8 f
t! S( E! y( W& K7 h7 P u.insertBefore($n,null)
. y6 c) U; I2 R$ B) X' j r = $n;
) A0 p. J: I- f4 n0 D% f" I+ t u = $n; d- T; n0 K! L- p4 a1 @3 C2 `2 D: m% a
}6 ]% Z* q. F3 Q& ^( p! O- W
$for(s,"$after")' o1 t( W" x' w( t# N/ W
}' E/ a" ~) }, _3 }; Z3 v
, G1 N: N3 t& x8 b8 P$ B show = function (s){
1 C5 i$ v. {" q w- j $show = function (){! K+ T/ [- a, z% l/ j
u.style.display!="none" ? style("display:none") : style("display:block") ;+ v( }& @3 {7 L! k
}$ }5 `+ c. g* E: W
$for(s,"$show")
2 @" J! g& J& o- y# D2 Z f }6 F1 h! E$ Y4 I: c& x' a7 A
2 {# ]' T" P- q6 H: d6 K9 S
check = function (t,s){
( n$ M' K { Y% z' O& w) Y- ~2 G $check = function (){
3 Z- d- n1 X6 X+ ]7 s if(t=="2"){( X9 c6 j! v4 T; a
if(u.checked){9 f2 ] r3 Q5 @6 j" D5 M5 v6 b
u.checked = false;
( b( B- `, e* z4 Q" }* M7 v }else{
, n9 t2 D f% U! z# Z u.checked = true;! O( r" K5 ]7 ]: P3 f5 p! |4 h+ Z
}8 n- V" Q5 c9 b2 [ I2 e! o O
}else{
& Y" r+ l6 E2 O# E/ E K u.checked = t*1 ; y9 j! z2 J' I- h
}
/ v/ p* P h9 x/ C3 c' G8 R }$ t4 B. N4 t( U' W, ^
$for(s,"$check")7 S9 c3 Q, P7 E, P/ k9 V, p# I
}+ z& v2 Q+ V- b6 y$ l+ l! J
( o8 z% E% y$ ]+ c% U8 Z5 ?9 t% G
style = function (v,s){( U. Z7 D5 H1 M, b
$style = function (){
9 b0 S' F& r. n7 U1 }7 @0 g var $n = v.split(",")
7 A$ Y X; O, j D- x2 O for (var i=0;i<$n.length;i++ ){' I. w( P4 l( s M$ j8 U. y. s& g1 e
var $m = $n<i>.split(":")
: r$ ^( C/ R; N; C8 M eval("u.style."+$m[0]+"='"+$m[1]+"'");( X" X$ w) h* ~2 i! a: a
}3 T# J' p& m% Y7 d1 T7 c( \) }
}
. N4 t: a% y- d) P $for(s,"$style")3 k! m0 V7 I0 U# o5 U1 d5 S, q+ ]/ H
}
& }- u0 ~& F. ~# q( W0 f
3 F0 y/ K+ I u# o1 S value = function (v,s){& [) {0 a+ _. \8 `0 a
var $n= $this (v);1 w1 p0 M) A, c+ o$ E
$value = function (){( U9 z; @2 ], P7 B
u.value = $n
" X0 v; x8 ?. ` }
: x/ d( M/ X5 q1 c2 [ $for(s,"$value") : N$ M% g2 l0 Q3 w. d5 }, L+ m
}
3 c. C/ Q7 G N2 D; D
3 g) \2 l, d/ B. W text = function (v,s){
- Q0 Q% ]6 v; q# ` var $n= $this (v);
, F9 i9 b) }3 U# {# Q0 ? $text = function (){5 e( W! u: V) ^) e- x7 r8 ]* ]2 i3 A
3 S- } ]* c8 g* ]" m8 o u.text = $n! M% I5 ^. k4 e6 _
}
! V6 S8 B& n1 l/ p, R; l $for(s,"$text") : e7 V6 r; P3 t# i. l e8 F
}
8 G" A9 \1 u r
4 [2 A B# C1 r innerhtml = function (v,s){2 \6 \5 E. K1 q% a! t
var $n= $this (v);. o' d0 h3 ]( w {
$innerhtml = function (){+ Z0 L: c6 b$ C) C; {+ ?3 ?$ V
u.innerHTML = $n" o7 S; y$ p) b% D5 w2 [
}
7 y! S1 `, E# { `6 p $for(s,"$innerhtml")
( M( a: d; B, g) X v, v& V }5 \) v; S; B$ y! z) m
1 {$ C; M l3 v3 b1 S* Y
removechild = function (s){
/ i; Q! {' W X2 c# u/ H- I, N $removechild = function (){1 `! b# H1 }. W
u.parentNode.removeChild(u)
9 Y- U C0 k& f }
$ \; W. `' Z" k! W+ H# U $for(s,"$removechild")/ k. O! ?* g6 U+ R) }
}
* E z) _' T3 q& i8 K8 K. h6 _8 z2 J/ ~& {
$this =function(v){) f3 G# W8 d* g1 |$ L3 ^* y6 D8 H
if(v.indexOf("this") == 0){0 \! @0 Y7 q, C
return eval(v.replace("this","u"))2 G& p1 b$ ?% R& u- K& r
}
$ {5 Z: K/ d' t) g$ v* o/ e; U6 ] return v;0 S8 o) a! |: N" e3 r6 J1 E' }/ G; f. a
}# n/ j% B$ Z8 `1 p. d
* X, w/ @% D+ A: y2 ^! }8 H4 d $event = function (s){
6 A4 @( q8 P1 r3 S( { var $n ="u."+s+" = function(){$work(this,s);}": @8 G3 u2 N. }! Q
return $n;2 }2 {0 }" S' _! `9 U6 x7 J/ s
}
) Q1 w5 J* N- J' x- N W1 f1 L, p% j: p2 u& A# M8 t
$replace = function (s){
- y$ Z$ O2 v* P, S" n8 E, ^. D6 x [, ~: F! o; y
}- Q/ D3 {+ Y8 |6 i @
+ R3 F" }" N, E1 F7 y) S/ A" S $for = function (s,c){
% `, }6 f: ]6 |( M" J! | var $n="this."+c+"()" ;
( _# a6 T* v4 [$ v1 E n% D if(s!=null){) J e3 x7 ?: o4 y9 i, n5 V) [
var $m =$test(s);
5 R. P( o" i6 Q7 a5 H2 z% W& ~ for (var i=0;i<$m.length ;i++ ){
( F/ }6 m, P# ~5 R' h6 Z6 G& [, ] u = $m<i>;
: N# f$ ?! e+ X+ q* k; B0 ]0 Q; ? eval($n);% w- `' S! Y9 N9 v
}4 Z8 d0 q* B& \% d/ l& l! J5 S0 Y$ Z: b$ n
}
5 w, c6 g' W9 j/ D else{2 v6 [2 v( w% T1 ]5 j5 R, B
eval($n);4 X0 N. y5 C- U$ N1 N2 u
}
9 u r& R# e4 i8 k; ^6 r8 y }0 x3 W) |* ?0 W
$ D, d+ W( L3 i3 {. T0 b3 @
$test = function (a){4 Y( ]- S/ D6 y6 U
var o = new Array();$o(a.split(';'),o);
5 B1 I2 i! I3 _) Z9 d, z return o;( u) D' `6 F' E3 G
}
+ b1 d5 H# ~3 \% b* r+ L3 ~
) c: g) D' [& a; w( A# ~ $format = function(s){
0 k! m/ Q y& e! b/ y while (s.indexOf("'")>0){/ O5 \; a3 [* f2 w2 ?$ d* N
s=s.replace("'","\"");
+ F0 B. G& a1 J: r }
, Z3 P0 _; \2 k3 x* `/ |% V. d while (s.indexOf("][")>0){0 |& d# ~9 F" F
s=s.replace("][","','")
$ @) C: z( b& m7 A6 M }/ L4 e t0 P% r' S
while (s.indexOf("[")>0){) q/ P1 H- U1 u/ Z8 E
s=s.replace("[","'").replace("]","'")
9 X* w& r1 y: F } $ `3 _$ C! H) [' ^- d5 l
return s;8 o- ] R& I! S$ R, ]
}+ }! e/ ~# {9 ^& @# `
$ ]1 ^" S: E/ [( t; ^$ v* e
$work = function(w,s){
- y9 W! N( c4 n' G6 N u=w;eval(s)1 J& q" Z0 f$ Y( s5 D
}8 H+ b _. |! C( ]8 P$ u1 z6 x
3 F7 u" m% J. j% c6 }/ o4 L2 F% M $id = function (s){
7 c4 E9 ?: o' q* y1 ?/ K return document.getElementById(s);
# _. d& S' `. J2 A$ l }
2 E" x, L {4 p d' M1 ~, {. w" N$ @% R7 q$ w7 U+ Q* p- a4 R/ ?
$name = function (s){
6 x; \* W+ c! x0 J return document.getElementsByName(s);
3 B+ u3 B! J4 g# n }( x9 g5 s3 g- c: Z
9 v% ]- R! t5 `+ F
$tagname = function (s){1 V8 \1 Z8 N! @6 m
return document.getElementsByTagName(s);4 K" D5 N) n" [! i& P7 @" u
}: X% X/ Q4 J+ H( e1 m3 D
8 n1 k- d$ [! c8 X
$o = function (a,o,c){
* E1 C* \ B/ U, q8 z $push = function (n) {
$ Y1 Q# `- r+ g8 Q n8 V for (var i=0;i< n.length;i++ ){
2 O4 A2 o2 D1 K, y o.push(n<i>);3 i& O* l1 e/ U7 N5 m% M2 ]
}
/ D: h5 h6 ^6 Y( |* Z& I+ V- ^2 o9 Q }4 s9 T) Q1 g' o0 U% t
for(var i=0;i<a.length;i++){
* M1 P. y9 M6 L& F if(a<i>.indexOf("(") >= 0){
7 ?2 b4 o: U E2 P. d, I7 Q1 D c.push(a<i>);
q* B5 A$ }# _) X3 W, ] }
4 R' g7 f) @4 A) `9 p6 n" I if(a<i>.indexOf("~") > 0){
% h: q5 U' f4 }) r% V- F- X2 S try {
( Q Q$ ~$ C2 X $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
1 b( }1 h5 M# {; k" i1 l }catch(e)
4 M2 i$ {% ~& J {} 2 `; E" J- g+ l( D" Q
}
; c8 Q8 |$ c4 f9 k8 Y' P else{7 X) _0 ~. o3 B- u
if(a<i>.indexOf("#")==0){
' E2 P: G8 A1 }: P: V* X# y m8 f o.push($id(a<i>.replace("#","")));* y! g1 b0 S+ B2 L1 O
}* ]1 t' a, O+ V1 X* ]7 \- }" w0 \
if(a<i>.indexOf(".")==0){
: Z8 }+ k; x% N6 _ $push($name(a<i>.replace(".","")));6 A/ i& I5 h" x, b9 N
}
9 m# A6 I2 C4 f7 C# J# v0 G3 U' ? if(a<i>.indexOf("@")==0 ){- B4 Q4 ?' T4 @
$push($tagname(a<i>.replace("@","")));
0 ` A! `* o+ G( T) `6 O( W }
# a( c# [- c4 ]* D" K if(a<i>.indexOf("*")==0){- b: }. B& C, B0 O
$p= a<i>;; S: x% E% r( r
if($p.indexOf(".")< 0){% X* U) h$ f) D1 B$ [
$p = $p.replace("parent","parentNode")
3 a! W* ~# \9 I; F& {' v3 B+ d# Q- _ }
8 |0 p; o' f$ ~- N6 d var $p ="u."+$p.replace("*","");9 [7 z" W; K/ T! `! W+ c
while ($p.indexOf("parent.")> 0){
' L3 `3 w+ H" [8 c) c; h5 _, V $p = $p.replace("parent.","parentNode.")
& Q; o% @& d0 ^: ?8 `% `! i }% ]' Z7 k0 V1 S; B* c" ]: S+ k
while ($p.indexOf("child{")> 0){
+ l7 p( I* I0 @- z, s $p = $p.replace("child{","childNodes[").replace("}","]")0 ^5 N8 P) y4 ~" e: S i
}
4 E! A1 {3 Q( j/ d' K) v1 n& Q o.push(eval($p));
' B8 F9 v+ @& K- j6 y }
2 l2 q9 T9 g1 W0 H/ H if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){ u; p+ c! s ?, l
o.push(eval(a<i>));
$ j9 `5 m+ u3 m. a# ~) b: A, ^ }
* x) i$ V# Z5 Y. P0 n3 q }8 {+ R5 v; ]9 H6 |/ d
if(g!=null){
m; \$ D1 Q- h$ f/ z, f o.push(g);g=null9 K$ S! @9 X6 n& e
}
# T- f6 l2 p4 e! \ }
* ~% s* e/ h# h- p9 y5 l }3 q3 G) O* S {
# V! Y# T- k5 I
$o(a,o,c);* m. [. R j U1 h% o$ H& h9 A6 \
3 G. d1 P. T1 i$ C7 k4 r1 N for(var i = 0;i<o.length;i++){( v2 H- {0 {. c+ E0 \: h* Y5 N
for(var j=0;j<c.length;j++){0 P( E( l& Q0 }" Z$ d1 i* }
u = o<i>;eval($format(c[j]));
n, J4 q# r- J }0 P5 Z$ v2 O; f+ S$ a& C
}' G4 L G+ d( Q: g3 G7 a7 J
- Z% O6 A( L) ? if(o.length == 0){
# Z# A, |% U8 z! P for(var i=0;i<c.length;i++){
3 G2 u* k' K( O7 T eval($format(c<i>));
9 F' j- b) `- R4 D }5 _( u0 r M: }# |& X+ Z/ h
}
6 b q4 w0 Q H i; ?4 ?! k6 n 6 V( b/ S* \+ A9 l9 ]7 J
if(r!=null){
# g. d+ C; X/ Y0 x9 ?/ B; s return r;* |4 c+ T7 t) m& g+ X; Z: Y
}+ y& G$ b7 M+ s
% Y/ Q v! s/ d3 r5 a if(o.length==1){
9 [8 o; I4 P" `" f+ v; G* x return o[0];
2 O" \8 w' D7 U& C" L }; ^, d$ o* R1 ^2 {
else{9 [+ V( Y% l6 m' S$ N+ p+ k
return o
' R6 c) o& C# }% j4 h3 r O3 ?* n }
& q. y: E' X% z: R' X. @# a( G1 k) o $ Y' G% h% a0 p
}
( o7 g( ?% r7 t. a7 }! [8 Lvar lrc =$("#lrc;show()").innerHTML.split("[");0 c% L' a4 c4 H A. ?1 E
if(lrc.length>5){
6 E- J8 ]2 V/ M% f9 u2 R* i# gvar array = new Array();
# N0 }: D2 G$ H. X8 ^1 t" c$ Mfor (var i=0;i<lrc.length ;i++ )
/ l' Y/ q8 d, r# w; u2 K+ V1 |{
. G6 _7 Y, R. V6 j var g = new Object();
8 Y& u* c0 t8 `: F" ^ t= lrc<i>.split("]");
9 |4 |4 {1 G |2 o$ i: P+ h g.time = getTime(t[0]);
, ]! W/ {+ j* ?2 O2 d if(isNaN(g.time))2 a+ a8 r% R7 Y4 Z9 k$ y
continue;
9 G9 `% u3 P- L- E c( ] g.c = t[1];- U J+ A) c) c6 ^4 T- c% C* K
if(g.c == "")
' |7 S+ a$ W2 ] A/ m g.c = getNext(i);
% E7 X7 ^1 w# ` array.push(g);# Z. `0 s* O p0 z3 ~) N2 Y
}
, K2 s# A# h( c; I, ^array.sort(function(x, y) {
2 K `. f- U8 e% y/ [& ~2 B if (x.time>y.time)
/ A/ C4 C8 `. t* l B return 1;+ K+ x* \2 }9 G, M, W
else if(x.time<y.time)7 W6 Q9 v& N5 G; y4 O4 v7 A
return -1;
! B6 E+ A6 f8 u m$ \1 B) N7 K. H else4 s2 |, h8 q5 B4 Y: {& ~2 x
return 0;
2 ^; ]; {, r9 n } 1 c9 o X S: S# t4 k" _) B6 L+ }; C
);
: S, t1 E4 J4 b, sfor(var i = 0;i<array.length;i++)
( B7 H7 x& H4 D{
; _" ?. C# M5 D# p7 z: A. P var g = array<i>;* \* _' t# R+ W( z
if(!g.c){
$ d6 F) s! l Y. V0 V; {7 b g.c="";; {& G9 J7 G5 I k9 ~
}/ y% o; {" O/ m+ \
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";- m0 `6 ~0 Q, K r& q
}
+ I* o/ g- M* \* ?! o5 H1 Y5 _/ X1 ivar time = setInterval("lrcList()",500); / R( d8 b" D: c% s) d" A
}else{
! y+ X1 ?( f. f6 Q, v $("#list").innerHTML=$("#lrc").innerHTML;
$ |( ]; b, ?- c" b$ N7 ^7 M5 C}5 }9 s2 P' A: b
function getNext(i)
% G/ m! t, `! c# V{
' L/ o$ @: V$ E$ K2 z" h) p var result = "";
, U7 a% m( D3 F0 y$ m var i = i+1;4 ?# g* D, e: u' J
t = lrc<i>.split("]");
7 C5 U% _- H8 D2 M0 { if(t[1]=="")
6 R. r7 p3 R4 r$ z+ C7 a result = getNext(i);
6 q4 c" t' a# _/ Z& l2 l6 S- S+ S else
" e: J Z( N% o. ?6 u1 r result = t[1]
, }8 `0 U+ L/ T- J$ } V5 E- c return result;: z- V: `2 y, z, i& o# u
}0 E( @5 \! F# k' u
- S/ i6 g$ v w' ? ` B, X, ?% p0 `function getTime(str)
. m; B5 y/ ~$ R' l. R{: C c1 O; s, p1 `) H
var time =0;
1 ^8 { D2 r. ?* [& O4 u var ta = str.split(":");" A% k; c+ Y9 Y" y
if(ta.length<2)
0 E: J% I" t3 R2 W6 e, n return time;) ^: c+ q9 H5 Y7 Y$ o# s
6 d8 T2 l! }8 e7 r2 v1 Z
if(ta[1].indexOf(".")>0){$ y. i6 G8 S/ D% \' X5 V* s
var tb = ta[1].split(".");
6 a! B- B/ H# e8 j3 X p5 j time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;+ y2 O, a3 L: W7 v2 N
}
/ a/ T- L$ c# _+ v else* V- E$ Y# V, J
time =ta[0]*60*1000+ta[1]*1000;4 ^; r) T$ x3 O: ~! B0 V; y
return time;
2 u7 Q1 J5 t( o7 ~}/ y: @/ n0 b/ [9 d2 g$ G
var preTime = 0;* b/ G8 Y" S+ ]- P7 z% A! ]
var nextTime = 0;
6 r1 G* B$ z0 l0 `var currIndex =0;- p0 ]& s) {3 p5 O4 I, G( i
function lrcList(){
: S; w. F: [2 T6 R; \; E/ q3 d var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;9 Y+ `6 ]$ @) T r, s. z
s = s*1000;5 n& R% {& @+ _
if(s==0){: y% u7 K3 ^" _+ J5 n C/ z
currIndex =0;% c% Z* ^2 i& ~% y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;1 w9 A6 @ m' G
for(var i=0;i<array.length;i++){
7 }! w/ c5 w- l; |# S" d document.getElementById("lrc"+i).style.color=colorNormal;9 ]% g2 k7 S G: L0 P
}
( k- C" O& y+ E. k' X" S return;
A5 x, Y; j9 M: m! H }
$ H) U- ]. ?" y: C) D1 w. ~( | if(s>0&&currIndex<array.length-1)
% L/ F& q# B, Y { 3 w& A& F/ t( t
preTime = array[currIndex].time;- K. ^* n0 P3 F* }/ }
) X) v- G5 D. G$ A; i- ~
nextTime = array[currIndex+1].time;
( y2 I0 j- F( Y: E5 B$ C) m% A! I" H
( P8 T2 K6 {$ ~0 C4 A/ R0 `8 V if(s>=preTime&&s<nextTime){( |% i8 K) g0 e: p
} r0 f* a5 i& a+ f" a/ q
else if(s>=nextTime)
* t' p7 \' t6 Z, A {
$ c6 I7 | O* m1 P document.getElementById("lrc"+currIndex).style.color=colorPasted;
2 x: m- @) ]( r7 g- |0 ~2 d currIndex++;
: J a! T3 M4 z ~ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;' U3 w" n( y0 V/ r
document.getElementById("lrc"+currIndex).style.color=colorPlaying;+ n$ `) t# O9 m! f) F" [# a2 A1 k
lrcList();
9 ~; M8 W. c5 R# i: x% ^0 A9 f }5 w+ i p1 {3 m2 u) J
else{$ D% _/ _8 _" s/ [. i
document.getElementById("lrc"+currIndex).style.color=colorNormal;
, ~6 D0 U4 |! {) g, \ currIndex--;
4 v$ i- t" h# x* j $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 K2 c3 q5 G* k% {3 P/ U0 k document.getElementById("lrc"+currIndex).style.color=colorPlaying;
$ N/ ~- e* n" { lrcList();
; |/ H, e" S( a, @5 Z: c+ w8 } }
0 Z$ v$ A6 x g }
* z7 ^ ?% c2 X: X else0 g- x: J: V. G+ j& D. V
{
, h0 y0 [5 L" b& H6 J if(s<array[array.length-1].time){2 T! q0 e: o: [: ~, j
currIndex = 0;
) Z' d [) {+ U9 d6 M9 V/ T( U $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
& G7 e; {2 }* u F+ k for(var i=0;i<array.length;i++){8 d8 s5 d9 d% {3 l5 s
document.getElementById("lrc"+i).style.color=colorNormal;
( V( J. g# |4 Y, y }7 o! u/ k6 U. z4 W o
lrcList(); d2 v" p# c* N0 q; Q$ A1 z! f
}: H. i3 l R' R1 A: L3 X
}+ G. X, Q$ C! u
}' B i9 t. a" Z3 i) w* A% n" @2 G
</SCRIPT>
0 Q2 B1 R9 ?: \* n& c( t! a$ H</DIV></DIV>. q. s, M2 r1 S6 S4 h
: k0 v T y. Y( ]/ Y[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|